package com.xingbg.projectimpl.config;

import com.xingbg.projectimpl.config.customimpl.LiskovBeanDefinitionRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 启用自定义服务的注解
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import(LiskovBeanDefinitionRegistrar.class)
public @interface EnableCustomService {
    /**
     * 自定义Service的扫描路径
     */
    String[] basePackages = {};
}
